package com.yuanian.wf.listener.process;

import com.yuanian.wf.event.process.StartProcessBeforeEvent;
import com.yuanian.wf.listener.Listener;
import org.springframework.stereotype.Service;

@Service
public class StartProcessBeforeListener extends Listener<StartProcessBeforeEvent> {
    @Override
    public void onApplicationEvent(StartProcessBeforeEvent event) {
        activeApplicationEvent(event.getContext().getStartProcessDto().getProcessKey(), "", event);
    }
}
